-
Notifications
You must be signed in to change notification settings - Fork 15
Update release notes for the Markdown era #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very familiar with the codebase, so my comments are fairly high-level.
Can we make impact and action required for breaking-change, deprecation, or known-issue fragments?
I understand breaking-change
and deprecation
usage.
Can you provide an example of known-issue
? I'm probably just missing some context of how to use.
I'm not very familiar with where the best to spot to "enforce" this change. I think if we wanted to require impact
and action
, it would be in build
(this is how we validate in PR checks).
Should we continue to accept template instead of file_type?
I don't have context about the usage of --template
to answer. In my limited experience, I've never used that flag.
Thanks @ebeahan!
Is there anyone else who should review?
I initially included automation for adding content to the Markdown known issues page, but I ended up removing it since recently we've been adding known issues manually post-release (example, example, example, example). I'm not sure if we should try to automate those.
Prior to this PR, there was only one template available, |
Let me reach out to my team and ask for some additional feedback. |
Even if you are no more handling this project, maybe you can still take a look here @endorama? |
From what I know, we are not automatically checking the fragment content but only if a fragment is available in the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@colleenmcginnis do create a new release once these changes are merged.
…elease notes (#2818) Related to elastic/docs-projects#488 elastic/elastic-agent-changelog-tool#213, elastic/elastic-agent#9440, elastic/fleet-server#5374⚠️ **DO NOT MERGE BEFORE elastic/docs-builder#1830 IS BOTH MERGED AND INCLUDED IN A NEW RELEASE**⚠️ Removes the combined Fleet Server and Elastic Agent release notes in favor of separate release notes in the fleet-server and elastic-agent repos. This enables the dev team to own the release notes process.
🧀 Pairs with elastic/elastic-agent#9440
Overview
Adds the ability to generate Markdown files for release notes, breaking changes, and deprecations in the new format used on https://www.elastic.co/docs/release-notes/fleet.
Approach
Updates the
render
command to accept--file_type
set to eitherasciidoc
ormarkdown
.asciidoc
, it renders a single AsciiDoc file containing release notes for a given version using the existingasciidoc-embedded
template.markdown
, it renders three Markdown files for a given version:markdown-index-template
template and the resulting file is<version>/index.md
.markdown-breaking-template
template and the resulting file is<version>/breaking.md
.markdown-deprecations-template
template and the resulting file is<version>/deprecations.md
.Adds two new fields to the fragment template to be used when the
kind
isbreaking-change
,deprecation
, orknown-issue
:impact
: User impact of the change (a few sentences).action
: Steps for mitigating the described user impact (a few sentences).Updates the recommended configuration file name (from
config
toconfig.changelog.yaml
) and format for individual repos (elastic-agent and fleet-server) in order to save the rendered files in the appropriate location so all versions can be compiled onto a page for each: release notes, breaking changes, and deprecations. See an example of this structure in elastic/elastic-agent#9440.Open questions
impact
andaction
required forbreaking-change
,deprecation
,orfragments?known-issue
template
instead offile_type
?